﻿using System;

namespace Facade
{
    class Program
    {
        static void Main(string[] args)
        {
            // 使用外观模式简化客户端调用
            EncryptFacade encryptFacade = new EncryptFacade();

            string sourceFile = "C:\\Users\\24929\\Documents\\WeChat Files\\wxid_uvx1j9jqf9eu22\\FileStorage\\File\\2025 - 10\\plainText.json";
            string targetFile = "C:\\Users\\24929\\Documents\\WeChat Files\\wxid_uvx1j9jqf9eu22\\FileStorage\\File\\2025 - 10\\encryptText.json";

            encryptFacade.FileEncrypt(sourceFile, targetFile);

            Console.ReadKey();
        }
    }
}